package cn.itsource.system.service;

import cn.itsource.system.domain.Role;
import cn.itsource.system.query.RoleQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void add(Role role);
    void update(Role role);
    void delete(Long id);
    Role getOne(Long id);
    List<Role> getAll();

    void patchDelete(Long[] ids);

    PageInfo<Role> pageQuery(RoleQuery query);
}
